Adds JSHint configuration file
Updates Cakefile naming convetions
Fixes undefined variable error