move dom methods to domlike