adding html/javascipt to show/hide appropriate ramp/const controls