testing out ajax with pinterest apis