Separate views, upgrade jquery
Remove a lot of old comments and unused functions