Update CurtainBlock.js to the latest version

- Updates CurtainBlock,.js to version 1.2.2 (commit: c1a530cbd2d5bc269275bfb64ab38c853750a3fc on the CurtainBlock.js repo)