anchor.diff:      var device0var7 = ("#{user.customData.device0var7}")
       var device0var8 = ("#{user.customData.device0var8}")
       var device0var9 = ("#{user.customData.device0var9}")
  +    var device0var10 = ("#{user.customData.device0var10}")
       var device0fun0 = ("#{user.customData.device0fun0}")
       var device0fun1 = ("#{user.customData.device0fun1}")
       var device0fun2 = ("#{user.customData.device0fun2}")
       var device0fun3 = ("#{user.customData.device0fun3}")
  -    var device0fun4 = ("#{user.customData.device0fun4}")
  -    var device0fun5 = ("#{user.customData.device0fun5}")
  -    var device0fun6 = ("#{user.customData.device0fun6}")
  -    var device0fun7 = ("#{user.customData.device0fun7}")
  -    var device0fun8 = ("#{user.customData.device0fun8}")
  -    var device0fun9 = ("#{user.customData.device0fun9}")
       // Device 1
       var device1id = ("#{user.customData.device1id}")
       var device1name = ("#{user.customData.device1name}")
  
positive.code:     var device3var7 = ("#{user.customData.device3var7}")
      var device3var8 = ("#{user.customData.device3var8}")
      var device3var9 = ("#{user.customData.device3var9}")
      var device3fun0 = ("#{user.customData.device3fun0}")
      var device3fun1 = ("#{user.customData.device3fun1}")
      var device3fun2 = ("#{user.customData.device3fun2}")
      var device3fun3 = ("#{user.customData.device3fun3}")
      var device3fun4 = ("#{user.customData.device3fun4}")
      var device3fun5 = ("#{user.customData.device3fun5}")
      var device3fun6 = ("#{user.customData.device3fun6}")
      var device3fun7 = ("#{user.customData.device3fun7}")
      var device3fun8 = ("#{user.customData.device3fun8}")
      var device3fun9 = ("#{user.customData.device3fun9}")
    .container
        .row.clearfix
          .col-md-12.column
  
negative.code:                         button.btn.btn-default(type='button', onclick='renameDevice(device3id, 3)') Rename
                        input.form-control(action='/dashboard', method='post', id='3renameto', type='text', placeholder='Rename device to', name='renameto')
                  .panel-body
                    // Check for variables before displaying
                    -if (user.customData.device3var0 != null)
                      h6 Variables:
                      button(onclick='getVarVal(device3id, device3var0, 0, 0)' title='Refresh this variable' class='varbutton') #{user.customData.device3var0}
                        .varval.device3var0
                        .lastheard.device3var0
                    -if (user.customData.device3var1 != null)
                      button(onclick='getVarVal(device3id, device3var1, 0, 1)' title='Refresh this variable' class='varbutton') #{user.customData.device3var1}
                        .varval.device3var1
                        .lastheard.device3var1
                    -if (user.customData.device3var2 != null)
                      button(onclick='getVarVal(device3id, device3var2, 0, 2)' title='Refresh this variable' class='varbutton') #{user.customData.device3var2}
                        .varval.device3var2
                        .lastheard.device3var2
                    -if (user.customData.device3var3 != null)
                      button(onclick='getVarVal(device3id, device3var3, 0, 3)' title='Refresh this variable' class='varbutton') #{user.customData.device3var3}
                        .varval.device3var3
                        .lastheard.device3var3
                    -if (user.customData.device3var4 != null)
                      button(onclick='getVarVal(device3id, device3var4, 0, 4)' title='Refresh this variable' class='varbutton') #{user.customData.device3var4}
                        .varval.device3var4
                        .lastheard.device3var4
                    -if (user.customData.device3var5 != null)
                      button(onclick='getVarVal(device3id, device3var5, 0, 5)' title='Refresh this variable' class='varbutton') #{user.customData.device3var5}
                        .varval.device3var5
                        .lastheard.device3var5
                    -if (user.customData.device3var6 != null)
                      button(onclick='getVarVal(device3id, device3var6, 0, 6)' title='Refresh this variable' class='varbutton') #{user.customData.device3var6}
                        .varval.device3var6
                        .lastheard.device3var6
                    -if (user.customData.device3var7 != null)
                      button(onclick='getVarVal(device3id, device3var7, 0, 7)' title='Refresh this variable' class='varbutton') #{user.customData.device3var7}
                        .varval.device3var7
                        .lastheard.device3var7
                    -if (user.customData.device3var8 != null)
                      button(onclick='getVarVal(device3id, device3var8, 0, 8)' title='Refresh this variable' class='varbutton') #{user.customData.device3var8}
                        .varval.device3var8
                        .lastheard.device3var8
                    -if (user.customData.device3var9 != null)
                      button(onclick='getVarVal(device3id, device3var9, 0, 9)' title='Refresh this variable' class='varbutton') #{user.customData.device3var9}
                        .varval.device3var9
                        .lastheard.device3var9
                    -if (user.customData.device3var10 != null)
                      button(onclick='getVarVal(device3id, device3var10, 0, 10)' title='Refresh this variable' class='varbutton') #{user.customData.device3var10}
                        .varval.device3var10
                        .lastheard.device3var10
                    -if (user.customData.device3var0 != null && user.customData.device3fun0 != null)
                      hr
                    // Check for functions before displaying
                    -if (user.customData.device3fun0 != null)
                      h6 Functions:
                      .input-group.func0
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device3fun0}
                        input.form-control(action='/dashboard', method='post', id='0sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                    -if (user.customData.device3fun1 != null)
                      .input-group.func1
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device3fun1}
                        input.form-control(action='/dashboard', method='post', id='1sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                    -if (user.customData.device3fun2 != null)
                      .input-group.func2
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device3fun2}
                        input.form-control(action='/dashboard', method='post', id='2sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                    -if (user.customData.device3fun3 != null)
                      .input-group.func3
                        span.input-group-btn
                          button.btn.btn-default(type='button', onclick='RunSparkFunc(x, x)') #{user.customData.device3fun3}
                        input.form-control(action='/dashboard', method='post', id='3sparkfunc', type='text', placeholder='0,0', name='sparkfunc')
                  .panel-footer
                    .footer-id
                      h6 ID: #{user.customData.device3id}
  