adding mdmagick.js for client side editing.