Seperated HTML and JavaScript