fixed foundation issue with application js