emits rc event

Would rather use this instead of an `onload` handler.