Cleaning up some js and adding connections settings file.