I have put 'do shell script' to my .scpt which should run after the Javascript. Here, .scpt will be changed per file where I can't make that as '.app' to execute as application.
Also kindly help me to load the scripts in File>Scripts>OtherScripts without user interaction from Javascript.