An image resizer written in node.js