clean up so minor things. add event alerting that new routes are available and call new jsDump there instead of directly in the controller. Only load dumped file in prod mode.