fix foundation js not loading regression