Add server side implementation for the first ajax action.
Now it is a working example!