Javascript interface for HexChat