This function will write a <script></script> element.
Example Code
echo mosHTML::script('includes/js/joomla.javascript.js');
url : string : the url of the script you wish to include
attribs : array : the attributes that you wish to apply to the script tags