Registration ajax form fix