Simple struct for JavaScript