Fix "ReferenceError: Bob is not defined" for correct use of module.exports

Without this fix the only way to make the spec work is to use `global.Bob = Bob;` in `bob.js`, which is not quite correct.