Maybe you can try to run it with doScript like this:
Muppet Mark seems right.
Translating APS to JS is someway doable. Unless the APS script uses cmd that don't have matching items in JS, it shouldn't be a problem.
However, I don't think a script may convert all by itself an APS script to JS.
For generic commands such as "set x to" or "display dialog", it's quite easy but how to translate "whose", "starts", "first", "last"....?
What if the script goes for file on the system using a tell application "Finder" block ?
In my opinion, the translation process can only be efficiently done by a someone knowing both languages.
Can I help you ?