introduced client session util incl. js-specs