Add ajax registration