Update MXComponent.js