Fix JS tidy issue