Fixed an issue with the register button on IE... This is really a better way at doing it anyway.