compatible with jquery-fileupload-rails 0.4.1 and rails 3.2.13

See https://github.com/tors/jquery-fileupload-rails/issues/30