various search improvements

-reworked js code
-added menu for repo / all search
-added return keypress event to search