clen code
rename option timeAutoclose in autoCollapseTime