removinf sub of .js extension