[geany/geany] e01ae9: javascript: Cleanup `findCmdTerm()` callers a bit