Fix minor JS style problems.