amazing dynamivc addition program in javascript