RegX now initializes onload