Adding options for JSHint, updating main.js template