Fixed issue #260 - Added all test files to JSHint checking and fixed rel...

...ated syntax errors