enable war and javascript library