cache javascript loads too