Thanks for your comment. Regarding pricing, this is all we've said publically : http://docs.intercom.io/#PricePlans - if it's a big obstacle and concern for you, mail me and I can give you some loose bracket to inform your decision
Along with messaging, the JS library tracks web application activity sending us useful data such as "last seen" which in turn let's us email "users not seen in the past 30 days".
You can use our API if you prefer http://docs.intercom.io/api but the client works really well for lots of this stuff.