Instead of using timer, use dom-change events