Fix entity type check in jquery.wikibase.entityview

Change-Id: Ic1ce9c08959a1e4468d052c216f6aa2e53650785
Merge "Fix entity type check in jquery.wikibase.entityview"