use shared js instead of background page