@ScSWinter In the meantime I tested NW's functionality to compile Javascript into native code called
nwjc, it seems to work really well and better than obfuscation in every single aspect. But then again, it only works with games exported with NW (so no browser or mobile).
I'm thinking on implementing this with obfuscation, allowing the user to choose between both methods depending on the target platform