fishi the navigator js function