#26 better solution for dynamic input fields using javascript function, and appending long html