Before I set out removing all the "==" a little more explanation would be helpful.
When should the double equals sign be used?
When should it not?
You mentioned that a single = should be used in comparative situations, is this true for all such situations?
(spaces have been added so this can post)
As an example ( from the announce file ):
if ( document . cookie ) {
if ( testUserName == null ) {
That is comparing right, so you are saying it should only be one equals sign?
If this is the case then they are all over the place.
It would also seem that you are saying a double = is used for assignments only, such as X==Y yet all over the place they used only one equals sign?
A bit more clarification would be helpful, please.