firefox os app ajax xhr