OVT-8709: Added proper error message for gateway timeout (504)
Removed nonexistent JS import
OVT-8564: iframe upload does not work with IE9 if server returns error. Workaround until ngUpload is fixed.