2.1.7. fix portable html page

use no inlined code except when downloaded
replace script src via ajax, remove static build step
fix download button to save with correct file name
hide download button on downloaded page
use embedded json to remove the need to quote guids, etc