Encapsulate matchgame(web) to a chrome  extension