--
Refactor toA()
Move some helper methods to domHelper object
Move some helper methods to hideHelper object