move to polymer event handling