upload button function in main.js - took out === changed to =.2