added some change in pmapi.js and manifest.appcache