fixes for FirefoxOS marketplace