Eval: functions substr() renamed to substring()
Eval: new function replace()
Eval: new function JOSM_pref()