add html file with js functions