Some cleanup using JSLint, moved css to main.css