add js file and test files