updated buttons, type, triggers and made some demo html pages.