fix rails install generator so that $(document).foundation() is only called once the dom has finished loading
Merge branch 'master' of github.com:zurb/foundation