Fixed issue #260 - Added all test files to JSHint checking and fixed related syntax errors