How to know when you've a javascript in drupal One problem in drupal 6 with javascript is when you add configuration to jquery in function and this function is called two or more times.