add messengerjs lib
replaced pubsub with messenger.js, closes #19 and fixed #25