Javascript Assignment-1 add