Bind click events to view instance. Removed RegEx from search filter

Bind click events to view instance. Removed RegEx from search
filter(using indexOf now).