simplified the strategy for event handling greatly and added sinon.js to testing setup. many thanks to Simple.js source code for both of these ideas