Fixed a null-pointer-exception

* Fixed a "Cannot read property 'ojslGroup' of undefined" that occured when logging a undefined value.