prototype for chrome extension messaging