removing un-necessary .js extension