Update foundation.js

fix for fastclick being initialized before document loaded.