Fix firefoxOS capabilities check