refactor(domInterceptor): pull domInterceptor out into a stand-alone lib