Simple JavaScript PubSub library