There are a lot of boolean expressions and the profile shows time being spent in jsBoolean
Created attachment 17139 [details]
Created attachment 17157 [details]
Comment on attachment 17157 [details]
My only comment would be that you might want to check if jsBoolean(true) and jsBoolean(false) compile down to a constant. Otherwise, r=me.
Committed revision 27664.