Ok, now really MS has get some reviewing going of the Silverlight javascript stuff. So I thought I would go through this library (Silverlight.js) and check it out and most of it was ok but I found of bunch of this sort of thing:
foo += something;
foo += somemoresomthing;
foo += somethingelse;
foo += forbar;
So I went through and 'upgraded' this core Silverlight clientside library. so things like the above look more like
foo = something + somemoresomthing + somethingelse + forbar;
I also changed a few if statements to trinary's and cleaned up a few other bits.