Compile new modal JS file
Externalize modal JS