create tool js

tool js