fix purecss. fix test name detection for .js files