YQL alert, improved formatting, refactored