Partial fix for #66

This adds the named module, but still has the problem that the xdomain module can't resolve "xhook" when the xdomain module is loaded via RequireJS.