Point Mutation in JavaScript