   p = @cart.set id, quantity, locked
   if @promise != p
     @promise = p
-    @promise.then(=>
+    @promise.then =>
       riot.update()
       m.trigger Events.UpdateItems, @data.get 'order.items'
-    ).catch (err)->
+    .catch (err) ->
       window?.Raven?.captureException err
 
 Shop.getItem = (id) ->


  store.set 'referrer', referrer

  promo = queries.promo ? ''

  items     = store.get 'items'
  cartId    = store.get 'cartId'
  meta      = store.get 'order.metadata'

  @data = refer
    taxRates:       opts.taxRates || []

      cart.mailchimp.campaignId = mcCId

    # try get userId
    @client.account.get().then (res) =>
      @cart._cartUpdate
        userId: res.email
        email:  res.email
    .catch ->
      # ignore error, does not matter

  tags = riot.mount elementsToMount,
