Javascript Compress File Before Upload