SugarCRM TreeView and Map javascript utils