Flattened code using blanket.js.