Draw image in center with the help of jQuery