optimize jquery and change content.