Update foundation.js

Pass options to init