added settings.js, no more hardcoded websocket (atleast inside code)