separate html and js