replace requirejs to alameda and wrap shim exports r=crh0716