Jshint recommendations. Removed trailing spaces, added brackets for if statements, added semicolons.
Merge branch 'master' of https://github.com/MarkNBroadhead/qNinja