Javascript part 1 finished