refactoring: fixes https://github.com/Polymer/platform/issues/55 and https://github.com/Polymer/platform-dev/issues/10