fixed oversight in jsCart.init callback function