Update messi.js

Call callback on autoclose event.