Eu vi o seguinte na fonte para WebKit HTML 5 SQL Storage Notes Demo : function Note() { var self = this; var note = document.createElement('div'); note.className = 'note'; note.addEventListener('mousedown', function(e) { return self.onMouseDown(e) }, false); note.addEventListener('click',...