add counter.js counter_test.js