JavaScript "Preflight" method executes the named profile. So you'll need to know the profile name to use it.
For this type of operation, which you'll probably want to apply to several documents, the best option is to either create a folder level automation script or just run it from the console window.
Since it a one liner the console window is a good choice for starting out. Here's a video tutorial on it.
Free Video Content & Full Listing of Available Videos
Here's an article on automation scripts:
Automating Acrobat can save you loads of time.