refactored to use javascript files from vendor/zurb/foundation/js