Fix innerHTML issue for Win8