Broke apart the js and html