Error "TypeError: Cannot read property 'apply' of undefined"

Hello,
i’m using InAppBrowser and i’m receiving this error when i try to use the insert CSS method.
I put my code here if anyone want see it: http://pastebin.com/3sWBiAaZ

Please, can someone help me here? Thks.