Updated navigation js and adds search input