Changed html to js.