adding js/ directory with test file