repair controllerJs