reorganized js files
unified session resources