modded md.js such that it optionally takes an object for configuration
modded index.js to reflect changes in md.js