fix 'this' in Mushroom.js