Add server side plan with client side ajax