You're assuming that most people have JavaScript-enabled mail readers.
There are simpler ways to defeat filtering, checksums and such without
depending on client-side software.
The percentage is high enough that spammers don't care about those
that don't. I've seen more than a few Javascript encoded email
messages. It seems to be most common for illegal scams (like
attempts to get your credit card) where they want to keep a web site
running for long enough to collect some cards. The encryption
presumably means that it takes longer before someone technical enough
to deal with the message can find the actual web site.