Fixed IDE reported errors in CSS
Tried to fix some JS glitches.