add extra param to record stored in localStorage
change file input name to file so there's not two params w/ name photo in querystring
bugfix: move localstorage outside online block; refactor storeRecord
minor style tweak