Finished second javascript exercise