tweaks needed to get working standalone (call stub, 501/403 errors, strict function defs, test page scripts)