Removed styling from the javascript
Replaced the javscript-directed styling with CSS and javascript classes.