http://www.piotrwalat.net/preventing-javascript-object-modification/

I am liking .freeze(); maybe useful to prevent console edits of score values or mechanic values.