The js package does not support Shadow DOM for now. You are facing to issue-99. Until a native Element support in dart:js
lands I don't think this issue will be fixed.
Danger Zone : There could perhaps be a dirty way to work around this problem based on this message by manually replacing /packages/js/
with the content of the pointed js branch.