split the html file up into html, css and js