Speed up presentation of file preview

I observed that showing preview for a large image in Fileinput may take a long time, especially if file is over few hundred kilobytes (not uncommon)

Turns out to fix it it was enough to remove jQuery assignment and use native javascript one.

I _did not_ test it across browsers, but I am pretty confident it should work everywhere.