Fixed initializing of tiny-pubsub jquery plugin