Add button javascript widget