javascript convert string to safe class name for css
<p>I am sure this must of been asked before but can't find any in the search. 
What is the fastest way to ensure all non safe characters are removed from a string allowing it to be used in a CSS class name?</p>
