Knight/Quest sample in Javascript using wire.js