fix string handling between Java and JavaScript
remove event display