[#169]Support bootstrap - use javascript event delegation to 
improve the performance.