adding grunt script, bunch of linting fixes