Refactoring for cleaner code. And more jslint-compatible, although I don't really care.
Refactoring for cleaner code. And more jslint-compatible, although I don't really care.
Adds support for up and down arrows.