Sorry to tell, but today, even raw EXEs are not so difficult to edit. There are million of tools to edit executables, and NOTHING can stop crackers, pirates and everything others.
I'm well aware of this. Of course EXEs are crackable and given a large enough audience or determined enough cracker, they can be cracked. The difference is simply the skill level necessary to do it.
To copy a javascript plugin (just a text file) you can simply copy and paste it. Any user with the most basic computer skills can do this.
To copy an EXE with copy protection, a naive copy-paste won't work. Usually disassembly or hex editing is necessary, with an uncommon level of technical know-how. This usually postpones cracking until the software is popular enough to justify it. Copying is then also limited to a smaller audience who seek out cracks, rather than being easy for everyone, like in the javascript case. Usually, this means it's still profitable to sell EXE software, despite its crackability. However, copying text files is so easy for everyone, it's quite impractical to try to sell javascript. So I believe EXEs vs. javascript are very different cases - one is still profitable, the other not.
For the record, we do not plan on implementing any DRM in to Construct 2. We're aware any measures we add will eventually be cracked, whilst also impeding legitimate users. If piracy is so rampant and the majority of people refuse to pay what we believe to be a fair price for our hard work, then we'll simply shut ourselves down and go and get jobs like everyone else.