universal wrapper for AMD, CommonJS and oldschoolsJS javascript-modules with tests