fix js error introduced by last checkin