Beginning JS sample file set up from example 7 - 8 (arrays)