Preventing XSS attacks when embedding JSON in HTML
benalpert.com