Fix postinstall and update scripts for windows

It seems that using

```json
"scripts": {"postinstall": "./install.js", "update":"./install.js"}
```

does not work on Windows.

Instead 

```json
"scripts": {"postinstall": "node install.js", "update":"node install.js"}
```

works on both Linux and Windows.