Only encode the 'component_to_update' id, not the whole generated js