xajax: instaniate class in registerClass

this makes sure the constructor is called.

Signed-off-by: Peter Lieven <pl@kamp.de>