Bugfix: JSHint now works also for spec file, when spec folder is included in the code folder

Also some typo fix.