amelioration page performances activity.tpl / apiwrapper.js