javascript object tostring override