Switch HTML to use new JS