transplant index.html and js