Cleanup index file

"exports = module.exports = " is redundant, also try not to mix
module.exports and exports. They can refer to different objects if you use
both. Always prefer "module.exports".
fix some wording in battletag error