Ajax and REST Recipes: A Problem-Solution Approach