Seperated html and js