Fix unit tests to only include .js files.