Fixes facility_management template.
Fixes styling.
Fixes facility_management javascript behaviour.