update comment and fix TAB indents
update formats
define shorthand near by
define shorthand of |gFindBar|
rename local variables

* |gXXX| should be used to the global property
update comments/formats
use |this| as object context

* rename |gTooltip| to |TooltipHandler|
  |gXXX| should apply to the global property.
store node title in internal map instead of handling attribute
make list of displaying format for tips
use node property instead of attribute
change return value from array to hash
rewrite code of creating node