used jquery to select elements by class name and change style