Stop using non standard window.location.origin
Updating gitignore for settings.json*