fix errors in JS calls when class names changed