Support Polymer DOM + module loaders combo

Fixes #446.
Closes #452.
v2.1.5