Using drupal behaviors for a Bootstrap carousel
Finally fixed it. I modified the code this way

drupal_add_js(drupal_get_path('theme', 'bootstrap_subtheme') . '/js/carou.js', array( 
                                                                                      'type' =&gt; 'file', 
                                                                                      'group' =&gt; JS_LIBRARY, 
                                                                                      'weight' =&gt; -1)); 


I added group and weight to it then then drupal.behaviors code had some few errors in the structure. The last line was})(jQuery);
But i fixed it to }(jQuery));