require(["dojo/on","dojo/request", "dojox/fx/scroll", "dojo/ready", "dijit/dijit",  "dojo/parser", "dijit/form/Button", "dijit/form/TextBox", "dijit/layout/ContentPane"], 
			function(on, request){
		dojo.ready(function(){
			var button = dijit.byId('submitButton');
			var inputChat = dijit.byId('chatMessage');
			var url = 'chat-server.php'; 
			on(button, 'click', function(){
				var chatMessage = dijit.byId('userName').get('value') + ":  " + dijit.byId('chatMessage').get('value');
			    request.post(url, {data: {'chatmessage': chatMessage}}).then(
			    	function(result){
			    		dijit.byId('chatLogPane').set('content', result);
			    	}
			    );
				inputChat.set('value','');					
			});
			
			setInterval(function(){
				request.get(url).then(
				    	function(result){
				    		dijit.byId('chatLogPane').set('content', result);
				    		dojox.fx.smoothScroll({
				    	        node: dojo.query('#chatLogPane :last-child')[0],
				    	        win: dojo.byId('chatLogPane')
				    	    }).play();
				    	}
				    );
			}, 500);
		});
	});

Napisałem prosty chat w dojo. Na serwerze typu http://strona.pl/chat.php aplikacja działa poprawnie, natopmiast, na serwerze typu http://91.222.24.50/chat.php aplikacja już nie działa do końca poprawnie, a dokładnie wysyłanie wiadomości. Czy ktoś może pomóc w rozwiązaniu problemu?