Buttontest

is this legend the same for all? can we add this stuff to common.js?