add Foundation call to foundation.js