Adds wrapper to button copy for JS manipulation