removing js extension