$(document).ready(() => {
	const formatNumber = number => number.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1.');
	let socket;

	$.get('/conInfo').done(con => {
		const domainOrIP = document.URL.split('/')[2].split(':')[0];
		const port = con.port, SSLproxy = con.ssl;
		const host = SSLproxy ? `https://${domainOrIP}` : `http://${domainOrIP}:${port}`;

		socket = io.connect(host);
		socket.on('update', data => $('#counter').html(formatNumber(data.counter)));
	});

	$.get('/counter').done(res => $('#counter').html(formatNumber(res)));
	// load initial counter

	const howlerList = {};

	for (const sound of sounds) {
		if (sound.filename === 'realname') continue;

		howlerList[sound.filename] = new Howl({
			src: [`/sounds/${sound.filename}.mp3`, `/sounds/${sound.filename}.ogg`, `/sounds/${sound.filename}.aac`]
		});
		// load all sounds
	}

	$('#button').keypress(key => {
		if (key.which === 13) return key.preventDefault();
		// don't trigger the button on 'enter' keypress
	});

	$('#button').click(() => {
		const sound = sounds[Math.floor(Math.random() * sounds.length)];
		socket.emit('click', { count: 1 });
		return howlerList[sound.filename].play();
	});
});
@@ -235,19 +235,19 @@
 nst 
-por
+hos
 t = con.
 port
@@ -246,57 +246,11 @@
 con.
-port, SSLproxy = con.ssl;%0A%09%09const host = SSLproxy
+ssl
  ? %60
@@ -298,16 +298,20 @@
 OrIP%7D:$%7B
+con.
 port%7D%60;%0A

Remove unnecessary variables