No it isn't. Files starting MZ are executable files, (.com, .EXE or a variety of other extensions) compiled from any language. Squares are Window's way of showing unprintable characters. Javascript is an interpreted language, meaning that it can be read by humans (Just about)
Here is a sample:
if (document.all) {
docObj="document.all."
}
else {
docObj="document."
}