Fix multiple require initiations, shim non-amd modules