JS as widget

Changed js to a widget to prevent changed to the dom from being appllied... multiple times in drupal behaviors are called repeatedly e.g. in case of an ajax return.