Added support for an offline message

This update doesn't work since it's my first attempt ever, to try out
appcache