Thank you for the pull request! I ended up writing the changes in myself because of this line here... if the _id was set to '0', this if statement would fail which is not the intended goal. I changed the line to read similar to the following:

```Javascript
if (document.hasOwnProperty('_id')) {
  // assign _id here
}
```