'use strict';, and also extract the onerror/onload handlers for the request into their own functions so search() is shorter/simpler
'use strict';, and also extract the onerror/onload handlers for the request into their own functions so search() is shorter/simpler

Rik/buddyup,zbraniecki/buddyup,mozilla/buddyup,mozilla/buddyup,mythmon/buddyup,mythmon/buddyup,JohanLorenzo/buddyup,adamkalis/buddyup,JohanLorenzo/buddyup,adamkalis/buddyup,mozilla/buddyup,Rik/buddyup,mythmon/buddyup,JohanLorenzo/buddyup,zbraniecki/buddyup,zbraniecki/buddyup,adamkalis/buddyup,Rik/buddyup,mozilla/mortar-privileged-remote-app