minor cleanings
no need for those private variables anymore
just some more accessors exposing more data to javascript

notably entities' labels and classnames and a global function to clear
all the timers registered in the current global context