Javascript assignment issued by Nashville Software School