MYFACES-4291: 2 duplicate functions in _Dom.js

* removing duplicate code
1 file changed