fix error messaging in javascript upload and upload in safari
Merge branch 'devbranch-dhiller' of https://github.com/deanhiller/databus into devbranch-dhiller