git mv environment{,_browser}.js, move logic from index to environment
(Node) Use 'promise' module for Promise