fix hasClass prototype on Component

I think I'm there now. Thx for your patience!