Fix an incorrect property unsubscription resulting in crashes in JS code