james: added Grunt files to support automated running of JSHint
james: edited files to remove JSHint warnings and errors