fixed rjs builds not loading routed pages.