Blockify (see github.com/maxymania/libblockify) functionality in javascript for node-js