Fixed missing base url in javascript session