Start adding support for setting an environment in JS framework
Merge pull request #45 from markewallace/EnvironmentSupportInFramework

Start adding support for setting an environment in JS framework