This kind of works, it seems to loop though
Rewrote form capture with jquery

also removed while loop, made it if/else
GH Pages COmmit