Use stringify method instead to toString for cross browser compatability