Compatibility with AMD module loaders

I left it unindented to make the diff readable.