Added Get Function

function for getting random string on the fly and a sample on
integrating with jquery