Remove js extension from controller