add and impl blanket.js