set up static js process