add js file to handle modal.html