Why not use the json+index.html+ajax method by default? It would reduce the server load and serve as a code example for capable users.