Fixed bug when working in IE with orphaned text nodes (sucky IE), added support to ignore element contents and only translate the attributes