A conversion of Dean Edwards' Base.js to run as an AMD Module, a CommonJS module, or a standard script all in one file. Also updated to pass JSHint. Original code available here: http://dean.edwards.name/weblog/2006/03/base/