title: Remove Undefined
body: <p>I have got a canvas which has rectangles with an <code>onClick</code> event.
  When i click the first rectangle it shows exactly the data as i want in my div classes but when i click the other rectangle it says undefined. It shows undefined because i don't have it in my Json and i am not planning to add it but i am gonna add other data. </p>
  
  <p>Is it possible to hide the "<code>Undefined</code>"</p>
  
  <p><a href="https://jsfiddle.net/8oeg5m1m/" rel="nofollow">Working fiddle</a> </p>
  
  <p>I don't have "<code>text</code>" in my jquery but i want to show for example text in rectangle 5 and to do that im giving each json an unique code. </p>
  
  <p>Is this possible?</p>