how to convert JavaScript embed code into WordPress script embed code

(Originally posted here: http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/#comment-18438 but I’m not sure how to subscribe to comments there, and I wanted to see if they provide different info than from you guys. Thanks!)

Question:

How do you turn a script’s embed code into the proper scripting for WordPress (e.g. functions.php, footer.php, both)?

For example:

<script src="http://jotform.us/min/g=feedback2" type="text/javascript"></script>
<script type="text/javascript">
new JotformFeedback({
formId : "123",
buttonText : "Wishbox Form",
base : "http://jotform.us/",
background : "#F59202",
fontColor : "#FFFFFF",
buttonSide : "bottom",
buttonAlign : "right",
type : 2,
width : 400,
height : 250,
instant : true
});
</script>