Switch to jquery min.
Remove unused sql version.
Remove debugging code.
Remove unused code.
Move Javascript code into static files + templates.
Add static file.