Why would you want to access them using Javascript?
As with any server-side code, in your code, generate the Javascript including the session variables, e.g.
[PHP]<?php echo "<script type='text/javascript'>var sessVar = '".session->var."';</script>" ?>[/PHP]
Comment