Performance improvement for jQuery.wikibase.entityview edit toolbars handling

Change-Id: I93d9b87dd8d3a91a351f204c26ba4643ad0614b9
Merge "Performance improvement for jQuery.wikibase.entityview edit toolbars handling"