patch freemarker and javascript for user/details changes