make app Firefox OS 2.2 compatible