Javascript do repository search window