removed the ajax call temporarily for the html5 offline functionality