Fixed require definition in module index.js