update offline message
separate css/js file from html