add basic javascripts for buttons
fixing redundant modals
finish home-page tools