Replaced "onchange" in HTML with event handler in JS