Minor change - formatting.
Improved a check for Xlink on Chrome to also work on node.js.
Removed the debug log statements.
Compact naming.
Missing semicolon.
Compact naming - '.MyType' syntax in names.