Fix JSHint errors

Build will now fail if any linting errors are encountered
Merge pull request #41 from Rise-Vision/chore/linting

Fix JSHint errors