Update Application.min.js

changed EnsureSession()