Imported the html and the javascript and made a template from it.