I want that the event listener waits for two events to be received before invoking a function
init: function() { this.on("addedfile ,maxfilesexceed