bring grunt lint into parity with jshintrc, and fix lint issues
fix function whitespace issues cc @Jonahss