anchor.diff:  	});
   </script>
   <script>
  +var licenses = ['optionsRadios1','optionsRadios2','optionsRadios3'];
   	function validateForm() {
  -		var x=document.forms["uploadForm"]["agree"].checked;
  -		if(x==true)
  -			return true;
  -		else{
  +		var x = document.forms["uploadForm"]["agree"].checked;
  +		if (x == true) {
  +			for(var i=0;i<licenses.length;i++)
  +				if(document.getElementById(licenses[i].toString()).checked)return true;
  +			
  +			alert("You need to check a license first");
  +			return false;
  +		} else {
   			alert("You need to Accept the license first!");
   			return false;
   		}
  -		
  +
   	}
   </script>
   <link href="../${context}/styles/bootstrap.css" rel="stylesheet">
  
positive.code: 		<p>Please upload your Javascript File</p>
  
  		<form action="${context}/OSSUI/script/upload" method="post"
  			enctype="multipart/form-data" class="form-upload" name="uploadForm" onsubmit="return validateForm()">
  			<label for="file">File</label>
  			<p>
  				<input type="file" name="file" class="btn span6" size="45" />
  
negative.code: 				href="http://opendatacommons.org/licenses/by/">Attribution for
  					Data/Databases</a>
  			</label> <label class="radio"> <input type="radio" name="license"
  				id="optionsRadios3" value="ODBL"> <a
  				href="http://opendatacommons.org/licenses/odbl/">Attribution and
  					Share-Alike for Data/Databases</a>
  
  			</label>
  
  			<p>
  				<br> <input type="checkbox" name="agree" value="agree">By
  				clicking 'Upload It' I agree to put my script under the Apache
  				License<br>
  		</form>
  
  	</div>
  