JavaScript Cache Change

Better handling of JavaScript for future updates.