Add jscs task to grunt file and clean up files to adhere to jscs rules.

resolves #1920

- updates all files to conform to style settings.