added t&c tickbox and associated error checking js, closes #29