First verision of jquery script

First verision of jquery script to handle the size of the box under the
text.