Don't include mocha in source.

Also hopefully fix XHR errors due to relative path differences.