fixed marker click binding in OO version