jquery 1.10 cdn, and refactored edit_ad