Bug 1062269 - Load JSON file with shared function in the WhiteList obj

Replace the code for loading a JSON file in the WhiteList object with the new shared function
nit: This check is not required anymore now that bug 1069808 has been fixed. You can just use ``this._whiteList = list;`` without the ``if() { ... }`` block around it.