fixes #6329 - toggle label content view/puppet environment, toggle show/hide installation media on new host form

nitpick: since you are always going though the same bootstrap structure, i would consider changing the jquery matcher into a function