add main js
test directory