Indent fix

Change-Id: I732450ddebf4a5b7bce47b5d73889bb81a2c6832
Construct HTML using appropriate jQuery methods

Change-Id: I6928760f0fd8d32318221d0cb9a9dc0236172145