See my note about the model in main.js. If you pass in the object literal, you don't need any of this code.

Also, I believe you can set score: 0 at the top to have the default value be 0, but you should probably test that and see if I'm right.