Split html and js.