Add ajax to menu creation