updated to latest Polymer and latest event types