ajax posting on adding links