split the css and js from the html