Changing core.js to use new socketURL