updated json for jquery and made changes