StockTwits Text Processing in Javascript