Note about custom js with multiple input problems