I'm afraid I do not know right off. I have not really used it myself, so I can only guess as to why it is not working.
Are you using a dev snapshot of Godot 3.4? I think the new Javascript interface is only available in Godot 3.4 and Godot 4.0, if I am understanding the linked pull requests in the blog post correctly.
Also, did you include the GamePix library in the HTML head include? I'm not sure if its required, but it may be something to look at.