Updated builder for require.js.

New metabolic-map/utils.js for functions shared between metabolic-map and builder.