Fixed syntax errors with JSHint and CSSLint.