Move javascript to separate file.
Upgrade jquery
Remove temp variables for form fields
Reduce function sizes
Fix whitespace
Remove uneeded library
Merge pull request #1 from atomaka/cleanup

Cleanup