Improve AMD support for naive AMD loaders

Replace the anonymous module definition for a name module `accounting`. This is really hand when using naive AMD loaders in the browser like almondjs (https://github.com/jrburke/almond) which don't have requirejs full module loading capability.