JavaScript client for LM Connect