convert Whitespace to JavaScript.