Any reason why you're not using [umd](https://github.com/ForbesLindesay/umd). Seems it would be better to share code?