try to move js for community page nav bar