Update JS in README to JSLint standard