Added JS fix for machine parts heights in Safari.