Update svg.foreignobject.js

Now setting attributes of newChilds will work for every attribute, for example setting "style" or "class" didn't work before.