You have at least three errors - maybe more:
(1) You are specifying both a native action ?a=q and an API action &act=API_GenResultsTable.
(2) You are using the application dbid (bk63yxbf9) not a table dbid.
(3) You are not specifying an application token.
To avoid some of these issues you might want to parameterize and clear up you code like so:
var dbid = "";
var dbidTable = "";
var apptoken = "";
$.ajaxSetup({data: {apptoken}});
var params = {
act: "API_GenResultsTable",
qid: "140",
jsa: "1"
}
var url = '${dbidTable}?${$.param(params)}';
$.getScript(url)
.then(() => {
console.log("qdb_data Test");
console.log(qdb_data);
});