are there equivalent statements in JavaScript to VB's asc() and chr()?