added analytics
refactored search control to minimize jquery
added timer, fixed bug, some refactoring