A wrapper of a JSON-RPC API for XBMC based on v6 (XBMC 12) in JavaScript for browsers