Thanks for the reply Joy. I believe I am enqueueing the code with
wp_enqueue_script('calendar', plugins_url() . '/calendar/calendar.js', array('jquery'), null, true);
Not to sound like a total idiot, but what the heck, that’s how I feel right now, how do I pass jQuery as $?