Fk10 - file and image upload functionality

Create local variables in JS.