Standardise ajax loading method

Use one template for everything.

Change-Id: I19760db2d4848bbc973eaa59f9cfb83c50016a19
Merge "Standardise ajax loading method"