function toJpeg(node, options) {
    options = options || {}
    return draw(node, options).then(function (canvas) {
      return canvas.toDataURL('image/jpeg', options.quality || 1.0)
    })
  }
@param {Node} node - The DOM Node object to render
@param {Object} options - Rendering options, @see {@link toSvg}
@return {Promise} - A promise that is fulfilled with a JPEG image data URL