add to json object javascript

JavaScript
object.property = value;
Source

Also in JavaScript: