Move all HTML related code from Clock to WebView