converted to background page because of flakiness in registering web requests