Oh but it is; see also asm.js, which is a subset of JS that removes a lot of the potential performance bottlenecks by removing those features from JS (mostly having to do with JS' dynamic nature, iirc).
Or in other words: javascript is an interpreted script language, webassembly is a compiled binary format.