JS style fixes