added jQuery to reload buttons

Buttons can now automatically be reloaded by adding the class
"buttonrefresh"
Before it works tho, you must add the ID and what must happen to the
code