LPS-45853 - Remove Ajax Session module and move the logic in session.js