add methods to void the js events will be loaded in every page