Microsoft are quoted as saying that javascript is now a first class citizen in Visual Studio and the \"Universal Windows platform\" but I have yet to find a way of upgrading
Setting "Load User Profile" to false didn't work for me, it breaks the whole application pool (probably because it's using ApplicationPoolIdentity).
What worked for me though, is creating the htmlfile object in global.asa like this:
(I'm not sure if it's my configuration, but some functions are very slow. For example, finding the location of a unique value in an array with 60000 elements by using lastIndexOf takes 5 seconds, whereas a polyfill does it in less than 100ms.)