add option to disable onClick events - fixes #42