using different JS syntax