separated html and js