A JavaScript library to create safer mashups