Add pub/sub support to arrays using the courier JS module.