Update navigate.js

manage standard jQuery insert function for the attribute ajax-insert or refresh-insert-function