updated navigator js