YQL examples with and without using promises