nav search form use javascript