Include match method on all blocks in JS