minor cleans to controllerjs