Update xbmc.js

This should fix issue #46 - tested locally against Frodo.
m