CMS-1653 Improve typescript HTMLElement api
Changed order of AbstractEl constructor arguments.