updated to current chrome extension paradigms