Wrote JavaScript object DataTable