add js for session storage