Add AllListener api to beans.js