Changed logic of getInputs to get all DOM children of forms and return
just the inputs (best way I've found so far)