Option to set data-click as a function