Fix input bug. Use property for the input value, not attr. Remove massive unused comment.