fix typo in JS blocks for readme