access page variables in content scripts of chrome extension.