added hashchange to analytics lib for tracking searches