Updating jquery and formatting