This demo is using Foundation Mobile with Foundation version 4.2.3 and should work fine with Foundation 4.x.x.