Some correction for Firefox OS support