Added a check to the destroy function to determine if the joyride object has ever been initialized.  If joyride was never initialized it would throw an error.