Created appcache file so we can use the website offline.
Updated main page to avoid downloading any files if offline, showing a message instead.
Added a fallback page in case offline mode has any problem.