moved foundation javascripts into source and ammended head