JSHint and CSSLint errors fixed