Write js like normal people.
Some spacing to make it readable.