Treat JavaScript data like it were immutable