js token updated