Fixing Foundation by putting the JS loading inline, but need to fix this for real later