js declarations cache provider