Added: connect by javascript.