Fixes #1, encodeURIComponent on search term.