working of fixes for js-routes