Update xbmc.js

This should fix issue #46 - tested locally against Frodo.

Not tested, but should work on Gotham too.