JavascriptCore: Bugfix for null-pointer support.

This solution must be considered as a preliminary workaround.