splitted html and js