Cache external javascript