add simple upload function with jQuery File Upload plugin.