function lisp_to_js (x) {
if (typeof x == 'object' && 'length' in x && x.type == 'character')
return xstring(x);
else if (typeof x == 'function'){
// Trampoline calling the Lisp function
return (function(){
function lisp_to_js (x) {
if (typeof x == 'object' && 'length' in x && x.type == 'character')
return xstring(x);
else if (typeof x == 'function'){
// Trampoline calling the Lisp function
return (function(){