By the way, a lot of Beaker's games refuse to run properly, usually because of one missing function in the map engine. (About layer scaling, I believe.) Worth supporting?
if ((ancestor instanceof Function) && (value instanceof Function) && ancestor.valueOf() != value.valueOf() && /\bbase\b/.test(value)) {