Move failing require statement up the scope
Move failing require statement up the scope

Got a strange error about `require.resolve` not being a function.
This has probably to do with the browserify transform only
working on the top-most scope (a theory - not vetted). By moving
the require statement up this seems to have been fixed.

mroderick/Sinon.JS,cjohansen/Sinon.JS,cjohansen/Sinon.JS,fatso83/Sinon.JS,mroderick/Sinon.JS,mroderick/Sinon.JS,cjohansen/Sinon.JS,fatso83/Sinon.JS,fatso83/Sinon.JS