Removed cdn dependency for jquery.
Moved inline javascript to their own files.
Refactored code.
Added localstorage support.
Merge pull request #1 from beije/gh-pages

Refactored javascript and added save support