javascript object's operator overload