Assignment for Serious Javascript