fixed relative location of js file for tests