Implement the https://bugs.webkit.org/show_bug.cgi?id=113139 for WebKit 2 also.
Actually WebKit2 takes of calling toString and ValueOf by default, wrongly filed the bug