repositioning the jquery code