How to Strip Whitespace from JavaScript Strings

How to Strip Whitespace from JavaScript Strings