added template js file for future ajax requests