Add offline mode detection for WebApp

manifest, offline svg, 503, 403