Support of simulating off line mode in browser