Fixed Foundation JavaScript errors and completed Assignment 3