significant javascript conversion.

- removed post/get checking for default options
- incorporated new preg_quote function to escape special characters
- using string replace to replace wildcards
- issues: does not escape second wild card & does not update
highlighting if you change search terms.