js-hint and style fixes