Add cache invalidation and jQuery