modified background script to use chrome api
modified background script to use chrome api