caching issues with js