add element list using js code example
Example: how to insert a value into an array javascript
var list = ["foo", "bar"];
list.push("baz");
["foo", "bar", "baz"] // result
var list = ["foo", "bar"];
list.push("baz");
["foo", "bar", "baz"] // result