updated color javascript
made stylesheets efficient