Throw an exception when DataValues is not loaded rather then outputting HTML

Change-Id: I6f492875d5ad5834247f3797a8e95afc5f798525