Making sure the masterObject is defined after the jquery plugin is called.