Conforming to dustjs-helpers API

Conforming to dustjs-helpers, dustmotes and other library.
Dynamically loading moment.js in the browser or in node.js.