jslint main js