make stack base actually work in webkit.