changes to chrome extension to capture data and submit to /regex/add in flask