A little extension to standard String object in JS from various scripts I have found