Adjusted to the new way Polymer elements have to be defined.
Merge pull request #107 from ussuri/fix-polymer-stuff

Adjusted to the new way Polymer elements have to be defined.