Java script pretty printer downloadable utility

I’m looking for a java script beautifier / pretty printer utility not an online tool, i’ve been searching for a couple of hours with no luck, i found one but it’s not free.
please let me know if there is utility i can download and use to format javascript files.


HTMLTidy also does javascript.