more syntax errors ....

added all .js files in the root folder to the jshint check list so I could catch these kind of errors before pushing