Javascript implementation of the Wikibase data model