Added Wrap Function to String.js

Wrap Function helps to wrap the html element as First Parameter and the element attributes in JSON string as Second Parameter.