connection between chrome extension and in browser code