anchor.diff:  	</div>
   	
   	<script>
  +		/** 
  +		 * Loads the REST API to refresh the Movies list.
  +		 */
   		function reload() {
  -			$.get("<%= url_for :action => :update_list %>");
  -			showLoading('Loading Movies');
  +			$.get("<%= url_for :action => :update_list %>");			
   		}
   		
  -		function getThumb(movieid) {
  -			$.post("<%= url_for :action => :get_thumb %>", {"movieid":movieid});
  -		}
  -		
  +		/*
  +		 * Removes the previous list. Then creates it again.
  +		 */
   		function updateList(movies) {
   			if (movies !== null) {
   				var list = document.getElementById('movies_list');
  
positive.code: 			</ul>
  		</div>
  	</div>
  
  </div>
  
negative.code: 				}
  				$("#movies_list").listview("refresh");
  				$.mobile.fixedToolbars.show(true);
  				$("img.lazy").lazyload();
  			}
  		}
  		
  		/*
  		 * Adds a thumbnail that has been gotten from the XBMC Server.
  		 */
  		function addThumb(movieid, filename) {
  			document.getElementById("movieid_"+movieid).src = filename;
  			$("#tvshows_list").listview('refresh');
  		}
  		
  		/*
  		 * Updates the list on startup.
  		 */
  		$(document).ready(function () { 
  			reload();
  		});
  