for js cache