+ fixes for "foundation.js"

fixed typo in "Fundation" but now I see that is't a other typo ... maybe we call it -> "Function" ;)