Refactor JS to be executed in a closure.
Remove magic number 13 (Enter Key).
Add command history. (closes #7)
Make Command History use local storage.

Should work in IE8 and above.  Tested in Chrome.
Merge pull request #8 from UseAllFive/command-history

Command history