This tag is used for plugins, if they require javascript, or css ($css_styles}
In the plugin file you then simply call
Code:
$TMPL['extra_javascripts'] = 'javascript';
and it will be included.
If you just want to include some javascript, there is noneed to use this method, simply add it to wrapper