Correct memory data layer for switch to RequireJS