fix to use m.exports instead of forced module.exports

module.exports is no longer incorrectly passed as this into define with id