remove unused code
1. Improve the regular expression.
2. Use 'startsWith' instead of 'indexOf() === 0'.
3. Use 'Console.jsm' for logging.
4. Add 'trim()' to remove white space and '\u200e', which can be found in Google's search results page.