Update probjs
Fix locality/globality of some variables