:bug: Make takeover inject when polymer present

- Abstracts out an injectTakeover() to be called in two places.