add js to template folder
remove slash