loading javascript after jquery is loaded

Enqueue the script in your functions.php instead of the header, wrap it in the conditional tags ( in your case is_front_page ) and use the proper enqueue dependency, you can change the load order by altering the add_action $priority parameter or use $in_footer