anchor.diff:  			</c:otherwise>
   		</c:choose>
   
  +
   		<script type="text/javascript">
   			<c:if test="${empty DO_NOT_INCLUDE_JQUERY}">
  -			var $j = jQuery.noConflict();
  +				var $j = jQuery.noConflict();
   			</c:if>
   			/* variable used in js to know the context path */
   			var openmrsContextPath = '${pageContext.request.contextPath}';
  
positive.code: 			var jsDateFormat = '<openmrs:datePattern localize="false"/>';
  			var jsTimeFormat = '<openmrs:timePattern format="jquery" localize="false"/>';
  			var jsLocale = '<%= org.openmrs.api.context.Context.getLocale() %>';
  
  			/* prevents users getting false dwr errors msgs when leaving pages */
  			var pageIsExiting = false;
  			if (jQuery)
  			    jQuery(window).bind('beforeunload', function () { pageIsExiting = true; } );
  			
  			var handler = function(msg, ex) {
  
negative.code: 			<openmrs:htmlInclude file="/scripts/jquery-ui/js/jquery-ui-timepicker-i18n.js" />
  			<link href="<openmrs:contextPath/>/scripts/jquery-ui/css/<spring:theme code='jqueryui.theme.name' />/jquery-ui.custom.css" type="text/css" rel="stylesheet" />
  		</c:if>
  		<link rel="shortcut icon" type="image/ico" href="<openmrs:contextPath/><spring:theme code='favicon' />">
  		<link rel="icon" type="image/png" href="<openmrs:contextPath/><spring:theme code='favicon.png' />">
  
  		<c:choose>
  			<c:when test="${!empty pageTitle}">
  