Reorganized javascript structure
Hooked up js for toggling search form