Took some JSHints and CSS lint advice.