remove unneeded code for old checkout widget