fix foundation javascript inclusion