Remove reference in vendorJS array