Wrap transcode body in a try block; fall back to input src for compile errors
Add treatAsGetter for document.currentScript.
Hack or optimization, you pick
Fixup for getter call.
document.body getter somehow changed in recent chrome version.
Correcting the 'this' value.
Element.attributes has a non-JavaScript API.
EG script.attributes.src where src is not discoverable by enumeration.
Workaround: change polymer platform.js to use Element.getNamedAttribute('src')