You can do 
```js
if (fiddleId) {
```
here and not need this variable at all.