Good for us that there is no such thing as closed source client side logic in web applications (without installing extensions/plugins). You can only obfuscate.
Still, even a binary can be reverse engineered; you see it all the time.
If you have the binary, you can reverse-engineer it.