Added support of offline web application