If you call Acts.prototype.MakeCustomDungeon directly, it will pass the global context for 'this'. Try using call() instead.
Actually, in general I would recommend you do not make actions which call other actions directly; they should both just call a common function.