fix js style for vars; wrt PR#21