Javascript component to config the routing of the applications