Update default.php

1. New jQuery uses one function to get data for any category.
2. Pressing the enter key for the 'location' form gets the same result as pressing the 'Submit' button (a sample result page).
3. Some code clean up.