script to initialize foundation javascript