title: Aptana Javascript how to run a single javascript program in aptana
body: <p>all I would like to do is run this simple program in Aptana to see if it works, but it doesnt even show up.
  I used the Javascript Template from Aptana's selection. here is the program.</p>
  
  <pre><code>&lt;script type = "text/javascript" &gt;
  function verse (verseNum) {
      var lines = "";
      if (verseNum ==1 ) {
          lines = "One thing I dont know why...";
      } else if (verseNum == 1 {
          lines = "All I know time is a valuable thing...";
      } else {
          lines = "NoLyrics";
      }
      return (lines);
  }
  alert (verse(1));
  alert (verse(2));
  &lt;/script&gt;
  </code></pre>
  
  <p>When I run the program, it shows a blank webpage. I am sure it is a very simple mistake, probably completely wrong format. Any help is appreciated.</p>