modify html and add js.