Fixed bugs in new objectified mml.js.