Where is the call of function "getDataFromTable" in your Hello.xsjs? Do you set in your new version any response after your insert statement? The line with "st.executeQuery()" can be removed because it is not necessary for the insert.
Maybe you can set at the end a response body like a string "ok" to check if anything is returned and your script is at least executed.