Made settings work on windows by not deferring js script loading.