Fixed misspelling.
Fixed JavaScript.