Make minor JS style cleanup