SEARCH wooo. Also refactored for faster javascript.