add javascript for highlight the example