One of my challenges is incorporating Twitter Bootstrap’s input-lg class on all input fields. I am wondering if there is a way, possibly utilizing JavaScript, to seamlessly switch to Twitter Bootstrap's input-sm class on smaller screens. This would adjust the font-size, height, line-height, and padding of the input fields in a manner consistent with Bootstrap's design principles. Alternatively, should I take matters into my own hands and handle this adjustment through media queries?