master thesis - ad hoc real time generalization (js/java)