define / stub dom module to return appropriate el mock