Added JSHint syntax checking