Split into one .html and one .js file