add button, create js class