update navigator plugin for JQuery