How to use node and jquery ajax to upload pictures?

  node.js, question

If the form form is used to upload files, it will refresh the web page, so I don’t want to use this method, how to realize the direct ajax transmission and how to receive the node back end?

Front end:
Jquery.form.js ajaxform asynchronous submission of forms

Node:
Use nodGM module (picture compression and shearing process)
https://github.com/aheckmann/gm

Use node-formidable to get the form submission and uploaded pictures.
https://github.com/felixge/node-formidable