More ie8 fixes

Ref https://github.com/owncloud/core/issues/3716#issuecomment-20845128