A quick JavaScript + HTML assignment for adding elements to an array and displaying their values in various ways