[JS] qt method callable from javascript