Drupal Add Javascript type=text/javascript
you can use 

$js = "(function($) {

    };
})
(jQuery)";
drupal_add_js($js, array('type' =&gt; 'inline','scope'=&gt;'footer'));


OR

drupal_add_js("(function($) {
$(document).ready(function(){
    $('.mobile-navigation').click(function(){

     });
    });
})
(jQuery)","inline");


OR

drupal_add_js('sites/all/themes/dawn/js/skrollr.js', array('scope'=&gt;'footer'));
drupal_add_js(drupal_get_path('module', 'module name') . '/js/name.js');