Adding method onClick in any marker created