compile ndn-js, add appcache and check websocket != null for page sourcing
add manifest.appcache