Added marker click function. If you pass markerClickFunction to marker object, it will be called on click on marker