Fix Issue #277. Make test page work in Chrome