Notice: wp_register_script was called <strong>incorrectly</strong>

This is what I did to get the site to where it was when I made this thread (quoted from a different thread):