Changes to make jslint happy, removed unused css function

I'm not really sure what the css method was doing, the plugin works for me without it.