Yes, there's already a C2 plugin for that, but I don't know JavaScript that well.
Now that you mentioned, I has a second look on on the pseudocode from Wikipedia and indeed, it uses 32 bit variables, only the resulting hash is 256 bit
There are only 5 mil bitcoins left so one might dream about getting one