Refactor console_sessions.js asset