Added function to include jquery more consistently
Adding js redirects
Use delegation events and fix the bug on server
Doctype is important