Create tools.js for windows and linux separately.

Signed-off-by: tungpham31 <tungpham31@gmail.com>