How to connect to localserver by app name using javascript SDK

Hello !
Using Unity or .Net , I use appname parameter to connect to my gameserver, when use javascript SDK : class PhotonPeer has only connect method without parameter. How do I connect to my application by app name in javaScript SDK ?