add file upload and JS lat long capture