Polymer elements with JavaScript interop