Ask in the InDesign Scripting forum. I'll move your messge there now.
You can't just open .jsx file into indesign application. If you want to execute jsx, you can call jsx from vb script, and call that vbscript from command line.
This is command line argument,
This is my vbScript.vbs