JS hint errors ... ?