A barebones jquery-fileupload implementation using Rails 4