Extracted search javascript to external file.