Processing and storing to db works in Chrome, Firefox, IE