add pubsub.js
added env.js