fixing js error re jers sessions and quoting example so it can be pased into the shell