Updating ImpactJS: making all corrections