now the js invocation works!