Fix JSList errors