hahaha, finally solved
I debugged and found out that the second parameter of the SpineGameObject should not be window.SpinePlugin but it should be this.spine
to be more clear:
everything works fine now thank you for helping me