The top two lines have been de-jquery-ified. I would recommend adding and removing class names rather than setting them. It is likely that users of this file will want to have more than one class on their input.