I'm not sure why you're trying to say ? Two wrongs make a right ?
For the record: I think that JS is a horrible idea too. What happened to the old rule of thumb that once you let someone else run their own code on your machine you should consider it compromised ?