I think the greatest advantage to static typing is the IDE support. Compile-time error checking is overrated, and in my several years of writing JavaScript, I've never seen a bug in production that could have been prevented with static analysis. That might be because I know the language well, but it's not a feature I need.
"What's true of all bugs? They passed a type checker and they passed the tests!" - Rich Hickey
"What's true of all bugs? They passed a type checker and they passed the tests!" - Rich Hickey