add js extension to javascript file