Created a canvas and separate js and css files.