slight to no change of register form js