fixing firefox

fixes https://github.com/owncloud/mail/issues/149

@jancborchardt