Keep in js the last path when we open or saveas