High-beta stability studies of JET discharges with the numerical program HBT