added support for TradingApp javascript library