An Firefox OS App that fetches update through XMLHttpRequest and caches it offline using localforage