js style fixes