Fix for node server side react rendering. window undefined

When compiling react components server side, window reference throws error in node:

```
/app/components/react-draggable.js:62
var isTouchDevice = 'ontouchstart' in window // works on most browsers
                                      ^
ReferenceError: window is not defined
```

I added a conditional wrapper to fix this issue.