Move config to JS due to default JSON support in IE