Use jquery-simulate instead of sin. It's more reliable in webkit.
adjusting jshint options
handlers array renamed to be more 'private', do not delete the array on destroy to avoid npe on subsequent destroy calls
made sure the dialog instance is destroyed after each test execution to make tests more sandboxed
latest test libs
tests are run from bridge.js which is included automatically for phantomjs
implemented a test spec which checks for removed event handlers