Fix main.js - jshint validation