Fixed the toString() method for JSAny.