Clean up some CSS and JS and correct some spelling mistakes

@jamiesnape thanks, I came to that realization a bit later.