The inputs are created as part of a big innerHTML string :(