Fix asset compilation and session storage