I don't understant this "new Boolean().valueOf" business, may you let me know why its needed?  (would "!!wasUpdated" suffice?)