switch to using require() instead of injectJs

This fixes many relative path issues when using require() in different
project test files.