title: Jquery - stop script executing on if condition
body: <p>How can I stop script executing when if condition is met? Is it possible to do it without else? For example:</p>
  
  <pre><code>if(data == 'false')
  {
  stop
  }
  rest of the function...
  </code></pre>