Added Universal Module Definition(UMD) and a better approach in getENV method
new line EOF
fix loadDatabase when ENV is BROWSER
Merge pull request #19 from lagden/env

Added Universal Module Definition(UMD) and a better approach in getENV()