fixed multilpe amd/commonjs require calls