This is ugly but much simpler than patching a runaway coffeescript loop upstream