Added appcache for JS game