Replace exports instead of var exports = {};