Fix js session creation path