updated cache js