Remove unused functions from include/xbmc.js