updating whitespace rules to follow JSLint