There isn't a global JavaScript preference in Windows, it's application specific.

Why not back up a second and explain why you need to disable JavaScript to open PDFs.