Completed javascript first exercise