Update KnockoutProperty.js

The code is clearer if we just use the length property directly rather than introducing a new variable.