WIP: Events converted to requirejs
RequireJS refactor complete; tests pass