Add stringify methid to complement toString that doesn't work on IE