Seperating HTML and JS