Added callback for element clicks

Fixed click event, removed live functionality as it wasn't needed.