Migrate globals into dashjs namespace
Created by: boushley
This should resolve #1023 (closed)
Global properties have been migrated into the dashjs
namespace.
Also adjusted the main
script in the package.json
which should make this library more friendly for importing into es6 style projects that are using WebPack or Browserify.