Popup Or Message If Cart Is Close To Free Shipping Amount

Hi there

I have a client who wants a message to appear (popup, or maybe just a message on the checkout/cart pages) that says "you are close to getting free shipping - just XX more dollars" or something similar.

Is this possible with an addon or possibly PHP code?

Many thanks