Javascript scripting interface for HexChat