article editing from js + fix event dispatcher