MDL-40142 navigation: fixed chainable issue with navigation JS