use fw.appJsCommandsDir because flash panel use it too