Fix for #135

See #135

Instead of creating a `.temp/docs/moment.json` file, `data/docs.js` exports a function that will generate a js object equivalent to the temp files.