Improved tweets proccessing and communication to JS