Environments JS

Adding environments js files (converted from CoffeeScript) for local
execution