Add ugly patch to make async require js work with mocha and when