first implementation of navigator (JQUERY)