updates mercury.js configuration to properly use image uploading (when enabled).