How to initialize easyRTC on client side?

I am working on an Application to communicate two applications for sharing a video chat using easyRTC. I searched on Google a lot for "How to initiate easyRTC from client side ?", I didn't find much details on that.

My client side will be a page from application which is running in tomcat server and which should communicate with easyRTC deployed on node.js server.

I found one detail about the same:

easyRTC.setSocketUrl(some_url);

This can be used when initializing the easyRTC on the client side. But how to initialize easyRTC on the client side is my question.