Use new syntax to define JS object's properties