prepare javascript tools