never, never use Wikidata JS API
Sorry WMDE JS team, I will never trust my gadgets to you anymore