A pure javascript JPEG encoder and decoder for node.js