Module export improvements

- Added MODULE_NAME setting to control browser export
- Added AMD module support