title: Check if 5 minutes passed after script load
body: <p>Basically I need quite (probably) a simple thing check if 5 minutes passed after script load. </p>
  
  <p>Script structure should be like this:</p>
  
  <pre><code>var check;
  
  check = 300; //5 minutes
  
  if ( count to 300 seconds &gt;= check) {
  
  //do magic
  
  } else {
  
  
  }
  </code></pre>