js-router: fix for