Fixed betterInstanceOf for Gecko

Some tests fail with SlimerJS...

Closes #732