changed socket target in public/js/main