Made a js directory for various js files to come (form validation, etc), added a make DB connection method to genfunctions, and modified search.php to have more uniform form setups