Making module work when minified