Expand as jquery plugin the autofit function.