improve organization and autoload js/programs scripts