To avoid JavaScript errors, one must create a value in registry edit under the following registry path,
32-bit : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
64-bit : HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
value name : your application name(eg: sample.exe)
value : refer to this page