It's not so much that JS isn't an official scripting language in TM as it is that the Mac doesn't ship with a js script runner.
Personally I'd be in favor of simply using rhino as the js script runner. Just need to include it in your bundle of the shared TM support folder.
On Jun 21, 2009, at 7:52 PM, Owen Densmore wrote:
TM doesn't consider using JS as an extension language
—Thomas Aylott / subtleGradient