Modernized JavaScript object syntax