Correct JS syntax errors (only).