Added HTML5 Offilne functionality