Revert "Updated JS to match HTML"

This reverts commit e56064b3b032bfe5d5e4cd304217a0127735fd42.