Added missing return to the double functoin

```javascript
double = function (n) { n + n; };
```

Should be

```javascript
double = function (n) { return n + n; };
```