Hi Kenneth.
The example page also resulted in the same error. But then I by coincidence disabled Compatibility View and then both the example and the website worked. So my problem did get solved. Thanks.