Determine if a JavaScript object contains all keys from array