fixed intermittent jqeury issue; was due to the ordering of the scripts in index.jsp