Rearranged order of jSx and Input references so that the jSx object is extended after the Input class has been fully defined.