Checked to make sure variable was defined before running jQuery. Need to change this so that the jQuery is included only on pages that use the calendar shortcode.