add cache js resource