add generated html and js