Webkit: Use local variable for buffer

There can be some troubles when using a global variable with a common
name (buffer). It is better use (let ...).

I got problems with wanderlust. Without my modifications, I'm not able to read my emails anymore.