Fix to set collection as javascript variable.