Added ability to write blocks.  Improved read_tag.js example so it reads all of the blocks on a MiFare 1K card.