adding top-level check: blocks to pyret.js