Add stripslashes on invoice terms.

While I was going around in the live version I tried to add terms with single quote and I get the error

```javascript
Uncaught SyntaxError: Unexpected identifier edit:1064
Uncaught ReferenceError: onDownloadClick is not defined edit:381
```

Hope my help will be aprecciated.