Flexible node.js module for serving high-res images to high pixel density devices