A fix for the twig.js issue that when value is from another iframe instance of lies

more information http://tobyho.com/2011/01/28/checking-types-in-javascript/
Make re-rende and basket work
Update tdk to work with renderPartial

The data in the partial twig e.g.widget_ecomcheckout_items.twig needs to be data.xxx in the tdk while in the editor, it's refereed directly