Fix bug where display mode was not correctly read from URL
	modified:   app/assets/javascripts/request.js