Ah! I wrote `(new require('alarm'))(result)`, where I should have written `new (require('alarm'))(result)`.