Fix missing JS call errors