integrated jquery and ajax