fix js error caused by using input only

Changed issue url.