Separated displaySession css and js