add ajax registration