Bugfix of default route in js