have sardines catch empty navigator & document objects

basically to get socket-io.client to pass with nexe
Merge pull request #14 from jedi4ever/patch-2

have sardines catch empty navigator & document objects