how to auto-format/structure single-line js?

how to auto-format/structure single-line js?

Hello - I'm trying to peruse the script contents of a js lib.  However, when I open the js script lib in VS2010 the script displays as 1 long line instead of displaying in a structured format.  Is there a way to display a script like this in VS2010 in a structured format or is there another tool that will do this for me?