Comment out unnecessary line (duplication) in JS file.
Refactor JS to be object-oriented (test tomorrow).