Fix some JS hints.