Detect CommonJS usage by exports variable only 

Because PhantomJS uses a CommonJS interface, but also has a window variable defined.