A bit of hair splitting, but technically it's an emulator, not a VM, since it's just simulating the CPU using javascript in your browser.
For example there's VM in the sense of JVM. But there's also in VM in the sense of Xen (VM) vs Docker (not a VM).
And probably a few more slightly different usages.
They're all virtual machines whether they're running code originally meant for execution on hardware or not.