got example1 working as chrome extension

still rough around the edges but works