[nim] Can now fetch data with AJAX from the python backend into the javascript page